package com.glodon.paas.account.security.oauth1.provider;

import net.oauth.OAuthException;

import com.glodon.paas.account.dao.domain.OAuthTokenEntity;

public interface OAuthTokenManager {


	public OAuthTokenEntity getToken(String tokenValue) throws OAuthException;

	
	public OAuthTokenEntity removeToken(String tokenValue)	throws OAuthException;


	public OAuthTokenEntity createUnauthorizedRequestToken(String consumerKey,
			String callbackUrl);


	public void authorizeRequestToken(String requestToken, String verifier, String userId) throws OAuthException;

	
	public OAuthTokenEntity createAccessToken(String requestToken)	throws OAuthException;

	
//	public OAuthAuthorizationEntity getAuthorization(String authorizationId);

}
